package cn.wolfcode.mapper;

import cn.wolfcode.domain.EmployeeRole;
import org.apache.ibatis.annotations.Param;

import java.util.List;

public interface EmployeeRoleMapper {
    int insert(EmployeeRole record);

    void insertRelation(@Param("eid") Long eid, @Param("rid")Long rid);

    void deleteRelation(Long eid);

    List<EmployeeRole> selectAll();
}